/* 内容 start */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d5def5 /* 可选背景色 */
}

.container {
    width: 940px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container .wrap {
    /* background-color: #3f60a6; */
    background:linear-gradient(#26becf,#35b7c5,#3f60a6);
    width: 700px;
    height: 400px;
    border-radius: 10px;
    position: relative;
}

.form_box {
    position: absolute;
    top: -10%;
    background-color: #cbc3c3;
    width: 370px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 2px 0 10px #24717a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: 0.5s ease-in-out;
}

.register_box,
.login_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hidden {
    display: none;
    transition: 0.5s;
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #35b7c5;
    letter-spacing: 10px;
}

.form_box input {
    background: transparent;
    width: 70%;
    color: #3f60a6;
    border: none;
    border-bottom: 1px solid #4c6290;
    padding: 10px 0;
    text-indent: 10px;
    margin: 10px 0;
    font-size: 15px;
    letter-spacing: 3px;
}

input::placeholder {
    color: #99afbe;
}

input:focus {
    color: #66a1e5;
    outline: none;
    border-bottom: 1px solid #66a1e5;
    transition: 0.5s;
}

input:focus::placeholder {
    opacity: 0;
}

.form_box button {
    width: 70%;
    margin-top: 35px;
    background-color: #66a1e5;
    outline: none;
    border-radius: 10px;
    color: #ffffff;
    padding: 8px;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
}

.form_box button a {
    color: #ffffff;
}

.form_box button:hover {
    background-color: #66a1e5;
    transition: background-color 0.5s ease;
}

.con_box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.con_box.left {
    left: -2%;
}

.con_box.right {
    right: -2%;
}

.con_box h2 {
    color: #2b1b74;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 5px;
}

.con_box p {
    font-size: 20px;
    letter-spacing: 2px;
    color: #2b1b74;
    text-align: center;
}

.con_box img {
    width: 155px;
    height: 235px;
    opacity: 0.8;
    margin: 30px 0;
}

.con_box button {
    margin-top: 3%;
    background-color: #66a1e5;
    color: #ffffff;
    border: 1px solid #afafaf;
    padding: 5px 10px;
    border-radius: 10px;
    letter-spacing: 3px;
    outline: none;
    cursor: pointer;
}

.con_box button:hover {
    background-color: #66a1e5;
    color: #ffffff;
}

/* 内容 end */